import { BASE } from '../api'
import { METHOD, request } from '@/utils/request'

/* 考核基础相关 */
// 新增
export async function addBasic(params) {
    return request(`${BASE}/basic/save`, METHOD.POST, params)
}
// 删除
export async function delBasic(params) {
    return request(`${BASE}/basic/del`, METHOD.POST, params)
}
// 修改
export async function updateBasic(params) {
    return request(`${BASE}/basic/update`, METHOD.POST, params)
}
// 查询列表
export async function getBasicList(params) {
    return request(`${BASE}/basic/page`, METHOD.POST, params)
}

export default {
    addBasic,
    delBasic,
    updateBasic,
    getBasicList
}